﻿using AJWPFAdmin.Core.Interfaces;
using AJWPFAdmin.Core.Logger;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Printing;
using System.Text;
using System.Threading.Tasks;

namespace AJWPFAdmin.Services
{
    public class MainApplicationBridgeService
    {
        private IFolderBrowserBridge _folderBrowserBridge;

        public MainApplicationBridgeService()
        {
            
        }

        public void RegisterFolderBrowser(IFolderBrowserBridge folderBrowserBridge)
        {
            _folderBrowserBridge = folderBrowserBridge;
        }

        public string GetFolderFromDialog(string defaultFolder)
        {
            return _folderBrowserBridge.GetFolder(defaultFolder);
        }
    }
}
